package com.x4sc.common.util;

/**
 * Created by sc on 17-3-28.
 */
public class StringUtils {

    private StringUtils() {
        throw new IllegalAccessError("Utility class");
    }

    public final static boolean isNumeric(String s) {
        if (s != null && !"".equals(s.trim()))
            return s.matches("^[0-9]*$");
        else
            return false;
    }

    public final static boolean isEmpty(String s){
        return s == null && "".equals(s);
    }
}
